package org.tea.inventory.dao.tea;

import cn.hutool.log.Log;
import org.tea.inventory.domain.tea.ProductCategory;

import java.util.List;

public interface ProductCategoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductCategory record);

    int insertSelective(ProductCategory record);

    ProductCategory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductCategory record);

    int updateByPrimaryKey(ProductCategory record);

    List<ProductCategory> selectProductCategoryList(ProductCategory productCategory);

    ProductCategory checkCategoryIdUnique(ProductCategory productCategory);

    int hasChildById(Long id);
}